<template>
    <!-- <div class="continer"> -->
        <el-dialog
            v-show="addRedConfigDialogShow"
            :visible.sync="twoShow"
            title="新增数电红字确认单申请"
            ref="modal1"
            width="90%"
            @close="closeSearch"
            :resize="true"
            :modal="true"
            :modal-append-to-body='false'
            >
                <handleDetail @closeSearch="closeSearch" ></handleDetail>

        </el-dialog>
    <!-- </div> -->
</template>
  <script>
  import handleDetail from '@/views/home/handleDetail/index.vue'
export default {
    name: 'addRedConfigDialog',
    components: {
        handleDetail
    },
    data(){
        return {
            addRedConfigDialogShow: false,
            twoShow: false,
        }
    },
    methods: {
        closeSearch() {
            // this.$refs.modal1.close()
            this.addRedConfigDialogShow = false;
            this.$nextTick(()=>{
                this.$emit('redVoiceDailogCb',false)
            })
        },
        show() {
            // this.$refs.modal1.open()
            this.addRedConfigDialogShow = true;
            setTimeout(()=>{
                this.twoShow = true;
            },50)
        },
    },
}
</script>
  <style lang="scss" scoped>
</style>